package com.web.new12306.pojo;

import java.sql.Timestamp;
import java.util.Date;

/**
 * 
 * @author 赵靖懿
 *
 */
public class Ticket {
	/**
	 * 车票id
	 */
	private int ticketId;
	/**
	 * 车次
	 */
	private String trainNumber;
	/**
	 * 始发站
	 */
	private String startStation;
	/**
	 * 终点站
	 */
	private String terminalStation;
	/**
	 * 发车时间
	 */
	private Timestamp time;
	public Timestamp getTime() {
		return time;
	}
	public void setTime(Timestamp time) {
		this.time = time;
	}
	/**
	 * 发车时间
	 */
	private int price;
	/**
	 * 余票
	 */
	private int remainingTickets;
	
	public int getTicketId() {
		return ticketId;
	}
	public void setTicketId(int ticketId) {
		this.ticketId = ticketId;
	}
	public String getTrainNumber() {
		return trainNumber;
	}
	public void setTrainNumber(String trainNumber) {
		this.trainNumber = trainNumber;
	}
	public String getStartStation() {
		return startStation;
	}
	public void setStartStation(String startStation) {
		this.startStation = startStation;
	}
	public String getTerminalStation() {
		return terminalStation;
	}
	public void setTerminalStation(String terminalStation) {
		this.terminalStation = terminalStation;
	}
	
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public int getRemainingTickets() {
		return remainingTickets;
	}
	public void setRemainingTickets(int remainingTickets) {
		this.remainingTickets = remainingTickets;
	}
	

}
